package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class BuyerInfo extends BaseEntity
{
    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long wid;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String phone;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String userNickName;
    @Excel(name = "客户姓名")
    private String name;

    /** 客户备注 */
    @Excel(name = "客户备注")
    private String buyerRemark;

    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd")
    private Date createTime;
    @Excel(name = "创建人")
    private String createBy;
    @Excel(name = "更新时间", dateFormat = "yyyy-MM-dd")
    private Date updateTime;
    @Excel(name = "更新人")
    private String updateBy;

    @Transient
    private Integer rowNum;

}

